#include <stdio.h>
int main(){

    //输出到控制台
    char* name="SpringSongs";
    fputs(name,stdout);

    //输出到文件
    FILE* pFile=fopen("/Users/springsongs/Documents/result.text","w");
    fputs(name,pFile);
    fclose(pFile);

    return 0;
}